package com.demo.user.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;

/**
 * @author zhaoxinguo on 2017/9/13.
 */
@Data
@Table("auth_menu")
public class AuthMenu {

    @Id(keyType = KeyType.Generator,value = KeyGenerators.flexId)
    private Long id;

    @Column("parent_id")
    private Long parentId;

    @Column("type")
    private String type;

    @Column("menu_code")
    private String menuCode;

    @Column("menu_name")
    private String menuName;

}
